package crp.extensions.scy.sso.models;

import lombok.AllArgsConstructor;
import lombok.Getter;


@Getter
@AllArgsConstructor
public class SCYUserType {
    //    1管理员2教师3学生4研究生5测试人员6领导
    private static final String FACULTY = "2";
    private static final String STUDENT = "3";

    private final String value;

    public boolean isFaculty() {
        return !isStudent();
    }

    public boolean isStudent() {
        return STUDENT.equals(value);
    }
}
